package com.learning;

public class BSTNode {
	protected int key;
	protected BSTNode leftNode;
	protected BSTNode rightNode;

	public BSTNode() {
		leftNode = rightNode = null;
	}

	public BSTNode(int el) {
		this(el, null, null);
	}

	public BSTNode(int el, BSTNode lt, BSTNode rt) {
		key = el;
		leftNode = lt;
		rightNode = rt;
	}
}
